package cn.lingyangwl.agile.system.model.rqrs.ram;

import cn.lingyangwl.agile.model.constants.ValidationCons;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author shenguangyang
 */
@Data
public class RamModuleUpdateReq {
    @NotNull(message = ValidationCons.NOT_EMPTY)
    private Long id;

    @ApiModelProperty(value = "模块名称")
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String name;

    @ApiModelProperty(value = "服务标识符, 这里指的是服务url的一级路径")
    private String serviceCode;

    private String remark;
}
